<template>
    <view>
        <u-popup :show="show" @open="open">
            <ul class="tan">
                <li class="tan_li" @click="paizhao">
                    拍照
                </li>
                <li class="tan_li" @click="xiangce">
                    从相册中选择
                </li>
                <li class="tan_li" @click="bendiwenjian">
                    选择本地文件
                </li>


                <li @click="close">
                    取消
                </li>

            </ul>
        </u-popup>
        <view style=" z-index: 99;" @click="show = true">
            选择附件</view>
    </view>
</template>

<script setup lang="ts">
import { ref } from 'vue'
const show = ref(false)
const open = () => {
    show.value = true
}
const close = () => {
    show.value = false
}
const paizhao = () => {
    uni.navigateTo({
        url: '/pages/qiao-crm/qiao-sousuo/qiaopaizhao'
    })
}

const xiangce = () => {
    uni.navigateTo({
        url: '/pages/qiao-crm/qiao-sousuo/qiaoxiangce'
    })
}
const bendiwenjian = () => {
    uni.navigateTo({
        url: '/pages/qiao-crm/qiao-sousuo/qiaobendiwenjian'
    })
}


</script>

<style scoped></style>